<template>
  <div class="tab_cont" v-show="isShowTab">
    <div class="tab_bar">
      <slot></slot>
    </div>
  </div>
</template>
<script>
export default {
  computed: {
    isShowTab: function () {
      return this.$route.meta.isShowTab;
    },
  },
};
</script>
<style scoped>
.tab_cont {
  width: 100%;
  height: 3rem;
  background: rgb(219, 203, 203);
  position: fixed;
  left: 0;
  bottom: 0;
}
.tab_bar {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
</style>